class YClass:
    def f(self, x: "x_class.XClass"):
        import x_class
        x: x_class.XClass = x

        print(x.value)
